<%@ page pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><fmt:message key="mainMenu.title"/></title>
<script type="text/JavaScript">
<!--

        var lastTab = 0;

		function MM_preloadImages() { //v3.0
		  var d=document;
		   if(d.images){ 
			   if(!d.MM_p)d.MM_p=new Array();
			   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; 
			   for(i=0; i<a.length; i++)
			    if (a[i].indexOf("#")!=0){
				    d.MM_p[j]=new Image; 
				    d.MM_p[j++].src=a[i];
			    }
		    }
		}

        function showHideDiv(index) {
                tabClick(index);
                window.top.leftFrame.showMenu(index+2);
                lastTab=index;
        } 
              
        function tabClick(index){
          try{
                document.all(lastTab+"_left_img").src="../images/top_menuLink_left.gif";
                document.all(lastTab+"_middle_td").className="top-menucontainer-link";
				document.all(lastTab+"_herf_td").className="top-menucontent-link";
                document.all(lastTab+"_right_img").src="../images/top_menuLink_right.gif";
                //alert(index);
                document.all(index+"_left_img").src="../images/top_menuNolink_left.gif";
                document.all(index+"_middle_td").className="top-menucontainer";
                document.all(index+"_herf_td").className="top-menucontent-nolink";
              	document.all(index+"_right_img").src="../images/top_menuNolink_right.gif";
              	
              	//document.all(index+"_left_img").src="../images/top_menuLink_left.gif";
               // document.all(index+"_middle_td").style.className="top-menucontainer-link";
				//document.all(index+"_herf_td").className="top-menucontent-link";
               // document.all(index+"_right_img").src="../images/top_menuLink_right.gif";
           }catch(e){}    
        }
        
		function goBO(){
			Form1.submit();
		}
//-->
</script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<!-- 
<link href="../styles/logincss.css" rel="stylesheet" type="text/css" /> -->
<link href="../styles/layout.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="53"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="top-logo">&nbsp;</td>
          <td class="top-banner"><table height="28" border="0" cellpadding="0" cellspacing="0" class="top-tool-tdbg">
              <tr>
                <td width="28">&nbsp;</td>
                <td nowrap>
                <img src="../images/home.gif" width="14" height="12" align="absmiddle">
                <a href="javascript:showHideDiv(0)" class="top-tool-link">首页</a>
                　<img src="../images/ico_password.gif" width="16" height="16" align="absmiddle">
                <a href="#" class="top-tool-link" onclick="top.mainFrame.window.location.href='../password.html'; return false;">修改密码</a>
                　<img src="../images/ico_out.gif" width="16" height="16" align="absmiddle">
                <a href="../logout.html" class="top-tool-link" target="_parent">退出系统</a>
				</td>
              </tr>
            </table>
			</td>
        </tr>
      </table>
	 </td>
  </tr>
  <tr>
   <td align="left" class="top-menu-tablebg">
		  <table width="100%" height="15" border="0" cellpadding="0" cellspacing="0">
	        <tr>
	           <td width="20">&nbsp;</td>
	          <c:forEach var="menu" items="${sessionScope.functionsTree}" varStatus="menuStatus">
	          <td width="5"><img id="<c:out value="${menu.id - 2}"/>_left_img" src="../images/top_menuLink_left.gif" width="5" height="21" /></td>
	          <td id="<c:out value="${menu.id - 2}"/>_middle_td" width="90" height="21" class="top-menucontainer-link">
	          <a id="<c:out value="${menu.id - 2}"/>_herf_td" href="<c:if test="${menu.action != 'js'}">javascript:showHideDiv(<c:out value="${menu.id - 2}"/>);</c:if><c:if test="${menu.action == 'js'}">javascript:<c:out value="${menu.url}"/></c:if>" class="top-menucontent-link"><c:out value="${menu.name}"/></a></td>
	          <td width="5"><img id="<c:out value="${menu.id - 2}"/>_right_img" src="../images/top_menuLink_right.gif" width="5" height="21" /></td>
	          </c:forEach>
			 
	          <td>&nbsp;</td>
	          <td>&nbsp;</td>
	           <td   align="right" class="black12">欢迎：<c:if test="${user != null}">
							<b><c:out value="${user.CHName}"/></b>
						</c:if>&nbsp;
			   &nbsp;&nbsp;
			  </td>
	        </tr>
	      </table>
	 </td>
  </tr>
  <tr>
    <td class="top-bottom-tdbg" nowrap>&nbsp;</td>
  </tr>
</table>
<p class="top-loginbar">&nbsp;</p>
<form name="Form1" method="post" action="http://gzsendi.vicp.net:9001/businessobjects/Enterprise11/InfoView/logon.aspx" id="Form1" target=_blank>
	<input type="hidden" name="__VIEWSTATE" value="dDw1NjQ4MDc5OTA7dDxwPGw8YmFja1VybDtEZWZhdWx0U3lzdGVtO0RlZmF1bHRBdXRoZW50aWNhdGlvbjs+O2w8O1xlO0VudGVycHJpc2U7Pj47bDxpPDY+O2k8OD47PjtsPHQ8O2w8aTwxPjtpPDM+O2k8NT47aTw3PjtpPDExPjs+O2w8dDxwPGw8dGl0bGU7PjtsPEJ1c2luZXNzT2JqZWN0cyBJbmZvVmlldzs+Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPOeZu+W9leWIsCBCdXNpbmVzc09iamVjdHM7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPOeOsOacieeahOeUqOaItzs+Pjs+Ozs+O3Q8cDxwPGw8RWZmZWN0aXZlVUlDdWx0dXJlO0VmZmVjdGl2ZUN1bHR1cmU7VXNlck5hbWU7U3lzdGVtTmFtZTtBdXRoZW50aWNhdGlvblR5cGU7QXV0aExpc3Q7V2VsY29tZU5hbWU7PjtsPFN5c3RlbS5HbG9iYWxpemF0aW9uLkN1bHR1cmVJbmZvLCBtc2NvcmxpYiwgVmVyc2lvbj0xLjAuNTAwMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODk8Q2hpbmVzZSAoU2ltcGxpZmllZCk+OzUwPENoaW5lc2UgKFNpbXBsaWZpZWQpPjs7O0VudGVycHJpc2U7bDxFbnRlcnByaXNlO0xEQVA7V2luZG93cyBBRDtXaW5kb3dzIE5UOz47Oz4+Oz47Oz47dDw7bDxpPDE+O2k8Mz47aTw1PjtpPDc+O2k8OT47PjtsPHQ8cDxwPGw8VGV4dDs+O2w85paw5bu655So5oi3Oz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDzms6jlhozkuLrmlrDnlKjmiLc6IDs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w856uL5Y2z5rOo5YaM77yBOz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDzku6XigJxndWVzdOKAnei6q+S7veS9v+eUqOacjeWKoTogOz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDzkvZzkuLrigJxndWVzdOKAneeUqOaIt+e7p+e7rTs+Pjs+Ozs+Oz4+Oz4+O3Q8cDxsPF9mb3JjZV9NYWluSWRlbnRpdHk7PjtsPE1haW5JZGVudGl0eTs+Pjs7Pjs+PjtsPE1haW5Mb2dvbjs+Ph3tPDdMauDSM0jrpDFK/8glqxsI" />
	<input name="MainLogon:_ctl2" type="hidden"/>
	<input name="MainLogon:_ctl4" type="hidden" value="administrator"/>
	<input name="MainLogon:_ctl6" type="hidden"/>
	<input name="MainLogon:_ctl8" type="hidden" value="Enterprise"/>
	<input name="MainLogon:LogonButton" type="hidden" value="登录"/>
</form>


</body>
</html>
<script language="javascript">
       tabClick(lastTab);
</script>


